package com.code.day02;

public class Test8 {
    public static void main(String[] args) {
        int x = 12;
        int y = 10;
        int z = 15;
        int max = x>y?x:y;
        System.out.println("x是"+x+"，y是"+y+"是的值谁大？"+(max));
        max = max>z?max:z;
        System.out.println("max是"+max+"，z是"+z+"是的值谁大？"+(max));


    }
}
